<!--{template admin/header}-->
<link href="static/style/main.css" rel="stylesheet" type="text/css" />
<link href="static/style/send.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .msgBox{width: inherit;}
</style>
<script type="text/javascript">
    var textCounter = function(field, counter, maxlimit) {
        var charcnt = field.value.length;
        if (charcnt > maxlimit) {
            field.value = field.value.substring(0, maxlimit);
        } else {
            document.getElementById(counter).innerHTML = charcnt;
        }
    }
</script>
<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
    <tr class="header">
        <td colspan="2">{$title}</td>
    </tr>
    <tr>
        <td width="13%" bgcolor="#F8F8F8">&nbsp;</td>
        <td width="87%" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">发表用户：</td>
        <td bgcolor="#FFFFFF">{$root_topiclist[nickname]}</td>
    </tr>
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">微博内容:</td>
        <td bgcolor="#FFFFFF">
            <!--{echo (strip_tags({$root_topiclist[content]}));}-->
        </td>
    </tr>
    <!--{if $image_list}-->
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">图片:</td>
        <td bgcolor="#FFFFFF">
            <!--{loop $image_list $key $val}-->
            <img src="{$val[img_path]}" border="0"/>
            <!--{/loop}-->
        </td>
    </tr>
    <!--{/if}-->

    <!--{if $videoid}-->
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">视频:</td>
        <td bgcolor="#FFFFFF">
            <div class="feedUservideo">
                <a onClick="javascript:showFlash('{$videohost}', '{$videolink}', this, '{videoid}');" >
                    <div id="play_{$videoid}" class="vP"><img src="static/image/feedvideoplay.gif" style="cursor:pointer;"/></div>
                    <img src="{$videoimg}" style="border:none"/>      
                </a>  
            </div>	  
        </td>
    </tr>
    <!--{/if}-->

    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">评论用户：</td>
        <td bgcolor="#FFFFFF">{$topiclist[nickname]}</td>
    </tr>
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">评论内容:</td>
        <td bgcolor="#FFFFFF">
            <!--{echo (strip_tags({$topiclist[content]}));}-->
        </td>
    </tr>
    <tr>
        <td width="13%" align="center" bgcolor="#F8F8F8">回复内容:</td>
        <td bgcolor="#FFFFFF">
            <textarea name="content" id="reply_content_{$tid}" style="width:480px; height:80px;" ></textarea></td>
    </tr>
    <tr>
        <td align="center" bgcolor="#F8F8F8">&nbsp;</td>
        <td bgcolor="#FFFFFF">
            <button name="do" value='' type="submit" class="button" onclick="publishSubmit('rcbtn_{$tid}','u-btn','reply_content_{$tid}','replytid_{$tid}','vc','topicReplyType_{$tid}',{$tid},'is_huifu_{$tid}','','0');">提 交</button>
            &nbsp;
            <button class="button" type="button" onclick="window.location.href = 'admin.php?mod=topic&code=$verify';
                    return false;">返回</button>
            <input name="tid" type="hidden" id="check_PublishBox_uid" value="{$root_topiclist[uid]}">
            <input type="hidden" value="reply" id="topicReplyType_{$tid}" name="topicReplyType_{$tid}">
            <input type="hidden" value="{$tid}" name="replytid_{$tid}" id="replytid_{$tid}">
        </td>
    </tr>
</table>
